package com.maple.soa.config;

import com.maple.soa.dao.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lijian
 * @date 2020/7/5
 */
@Configuration
public class SystemConfig {

    @Bean
    public User sysUser() {
        User user = new User();
        user.setName("lijian");
        user.setAge("28");
        return user;
    }

}
